package org.opsli.modulars.business.appValveWell.service.Impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.opsli.modulars.business.appValveWell.entity.AppValveDeviceHis;
import org.opsli.modulars.business.appValveWell.entity.AppValveDeviceNow;
import org.opsli.modulars.business.appValveWell.mapper.AppTwoValveMapper;
import org.opsli.modulars.business.appValveWell.mapper.AppTwoValveNowTimeMapper;
import org.opsli.modulars.business.appValveWell.service.AppTwoValveNowTimeService;
import org.opsli.modulars.business.appValveWell.service.AppTwoValveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AppTwoValveNowTimeServiceImpl implements AppTwoValveNowTimeService {

    @Autowired
    AppTwoValveNowTimeMapper mapper;

    @Override
    public Page<AppValveDeviceNow> getMyList(Page<AppValveDeviceNow> page, AppValveDeviceNow announcementSendModel, Integer beginSize, Integer endSize) {
        return page.setRecords(mapper.getMyList( announcementSendModel,beginSize,endSize));
    }

    @Override
    public Page<AppValveDeviceNow> getMyListDaLian(Page<AppValveDeviceNow> page, AppValveDeviceNow announcementSendModel, Integer beginSize, Integer endSize) {
        return page.setRecords(mapper.getMyListDalian( announcementSendModel,beginSize,endSize));
    }

}
